import Vue from 'vue'
import Router from 'vue-router'
import index from '@/view/index'
import systemHomePageRouter from './systemHomePage'
import schoolProfileRouter from './schoolProfile'
import clubDetailsRouter from './clubDetails'
import activityDetailsRouter from './activityDetails'
import activePhotoWallRouter from './activePhotoWall'
import personalCenterRouter from './personalCenter'
Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index,
      children: [
        systemHomePageRouter,
        schoolProfileRouter,
        clubDetailsRouter,
        activityDetailsRouter,
        activePhotoWallRouter,
        personalCenterRouter
      ]
    }
  ]
})
